package com.example.competitionregistration.service;

import com.example.competitionregistration.common.Result;
import com.example.competitionregistration.entity.Attachement;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author ZhangJun
 * @Description 由赛事发布者上传，供访客下载的文件的抽象服务类
 * @Date 2023/7/11
 **/
public interface AttachementService {
    Result uploadFile(String userId, MultipartFile file);

    Result getFile(String fileUuid);

    String getActualPath(Attachement file);
}
